package com.gopay.common.domain.gsrt.vo;

import java.math.BigDecimal;
import java.util.HashMap;
import java.util.Map;

/**
 * 
 * @Description: 回款信息
 * @author hougn
 * @date 2016年1月27日 下午2:35:16 
 *
 */
public class GsrtReturnedMsgVo implements java.io.Serializable {
    /**
     * 
     */
    private static final long serialVersionUID = 1L;

    /**
     * 
     * @Description 文本数据项坐标
     * @author hougn
     * @date 2016年01月27日
     *
     */
    public enum TextCoordinate {
        MERORDERID(0, "merOrderId"), MERTXNAMT(1, "merTxnAmt"), REMARK(2, "remark"),PROTOCOLID(3, "protocolId");
        private int coordinate;
        private String text;

        private TextCoordinate(int coordinate, String text) {
            this.coordinate = coordinate;
            this.text = text;
        }

        public static Map<Integer, String> getTextCoordinate() {
            Map<Integer, String> map = new HashMap<>();
            for (TextCoordinate textCoordinate : TextCoordinate.values()) {
                map.put(textCoordinate.getCoordinate(), textCoordinate.getText());
            }
            return map;
        }

        public int getCoordinate() {
            return coordinate;
        }

        public void setCoordinate(int coordinate) {
            this.coordinate = coordinate;
        }

        public String getText() {
            return text;
        }

        public void setText(String text) {
            this.text = text;
        }
    }

    /** 
     * 商户订单号
     */
    private String merOrderId;

    /** 
     * 分账金额
     */
    private BigDecimal merTxnAmt;

    /** 
     * 备注
     */
    private String remark;

    /** 
     * 协议号
     */
    private String protocolId;

    public String getMerOrderId() {
        return merOrderId;
    }

    public void setMerOrderId(String merOrderId) {
        this.merOrderId = merOrderId;
    }

    public BigDecimal getMerTxnAmt() {
        return merTxnAmt;
    }

    public void setMerTxnAmt(BigDecimal merTxnAmt) {
        this.merTxnAmt = merTxnAmt;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getProtocolId() {
        return protocolId;
    }

    public void setProtocolId(String protocolId) {
        this.protocolId = protocolId;
    }
    
}
